import 'element-plus/dist/index.css'
import 'element-plus-x/dist/index.css'
import ElementPlus from 'element-plus'
import ElementPlusX from 'element-plus-x'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import zhCnX from 'element-plus-x/es/locale/lang/zh-cn'
import { App } from 'vue'
const setup = (app: App) => {
  app.use(ElementPlus, {
    locale: {
      ...zhCn,
      ...zhCnX,
    },
  })
  app.use(ElementPlusX)
}
export { setup }
